package com.example.yjhvideo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yc.yjh.entity.Users;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Video implements Serializable {
    @TableId
    private int id;
    private String title;
    private String image;
    private String url;
    private String type;
    private String createTime;
    private String userId;
    @TableField(exist = false)
    private Users user;
}
